import { createRouter, createWebHashHistory } from 'vue-router';
import { SideLayout } from '@/renderer/layouts';

export default createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      component: SideLayout,
      redirect:'/home',
      children:[
        {
          path: '/home',
          name: 'Home',
          component: () => import('../views/pages/home.vue')
        }
      ]
    },
    {
      path: '/userLogin',
      name: 'userLogin',
      component: () => import('../views/pages/userLogin.vue')
    }
  ]

});
